public class StringDemo6 {
    /**
     * @author dengjiangming
     * @date  2025-06-19
     * @version 1.0.0
     */

    public static void main(String[] args) {
        String s = "ab\\c\\d\\ef";
//        System.out.println(s);

        String[] strings = s.split("\\\\");
        for (int i = 0; i < strings.length; i++) {
            System.out.println(strings[i]);
        }
    }

}
